package com.service.business.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.business.product.controller.rep.ProductOtherPageRep;
import com.service.dao.enums.ProductEnums;
import com.service.business.product.controller.rep.ProductOtherDetailRep;
import com.service.core.rest.request.PageRequest;
import com.service.core.rest.response.CommonPageRep;
import com.service.dao.model.ProductOther;

/**
 * 
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-10 22:06:11
 */
public interface ProductOtherService extends IService<ProductOther> {
    CommonPageRep<ProductOtherPageRep> pageProduct(Integer categoryId,ProductEnums.Type productType, PageRequest pageRequest);

    ProductOtherDetailRep detail(Integer productId);

    void updateProductOtherNum(Integer productId, Integer sellNum);

}

